package model;

public class Braille {
	private String SRC = null;
	private boolean ZERO=false;
	private boolean ONE=false;
	private boolean TWO=false;
	private boolean THREE=false;
	private boolean FOUR=false;
	private boolean FIVE=false;
	private boolean SIX=false;
	private boolean SEVEN=false;
	private boolean EIGHT=false;
	private boolean NINE=false;
	private boolean A=false;
	private boolean B=false;
	
	public Braille(String src){
		this.SRC =src;
	}
	

	/** 
     * 取得0号位置是否点亮 （或者是10号）
     * @return 0
     */  
	public boolean getZERO() {
		return ZERO;
	}
	public void setZERO(boolean zERO) {
		ZERO = zERO;
	}
	

	/** 
     * 取得1号位置是否点亮 
     * @return 1
     */  
	public boolean getONE() {
		return ONE;
	}
	public void setONE(boolean oNE) {
		ONE = oNE;
	}
	
	

	/** 
     * 取得2号位置是否点亮 
     * @return 2
     */  
	public boolean getTWO() {
		return TWO;
	}
	public void setTWO(boolean tWO) {
		TWO = tWO;
	}
	
	

	/** 
     * 取得3号位置是否点亮 
     * @return 3
     */  
	public boolean getTHREE() {
		return THREE;
	}
	public void setTHREE(boolean tHREE) {
		THREE = tHREE;
	}
	
	

	/** 
     * 取得4号位置是否点亮 
     * @return 4
     */  
	public boolean getFOUR() {
		return FOUR;
	}
	public void setFOUR(boolean fOUR) {
		FOUR = fOUR;
	}
	
	

	/** 
     * 取得5号位置是否点亮 
     * @return 5
     */  
	public boolean getFIVE() {
		return FIVE;
	}
	public void setFIVE(boolean fIVE) {
		FIVE = fIVE;
	}
	
	

	/** 
     * 取得6号位置是否点亮 
     * @return 6
     */  
	public boolean getSIX() {
		return SIX;
	}
	public void setSIX(boolean sIX) {
		SIX = sIX;
	}
	
	

	/** 
     * 取得7号位置是否点亮 
     * @return 7
     */  
	public boolean getSEVEN() {
		return SEVEN;
	}
	public void setSEVEN(boolean sEVEN) {
		SEVEN = sEVEN;
	}
	

	/** 
     * 取得8号位置是否点亮 
     * @return 8
     */  
	public boolean getEIGHT() {
		return EIGHT;
	}
	public void setEIGHT(boolean eIGHT) {
		EIGHT = eIGHT;
	}
	

	/** 
     * 取得9号位置是否点亮 
     * @return 9
     */  
	public boolean getNINE() {
		return NINE;
	}
	public void setNINE(boolean nINE) {
		NINE = nINE;
	}
	

	/** 
     * 取得A号位置是否点亮 
     * @return A
     */  
	public boolean getA() {
		return A;
	}
	public void setA(boolean a) {
		A = a;
	}
	

	/** 
     * 取得B号位置是否点亮 
     * @return B
     */  
	public boolean getB() {
		return B;
	}
	public void setB(boolean b) {
		B = b;
	}
	
	/** 
     * 取得原来的拼音或者字符 
     * @return 拼音或者字符
     */  
	public String getSrc() {
		return SRC;
	}
	public void setSrc(String src) {
		this.SRC = src;
	}
	

	/** 
     * 设置所有的点亮或暗 
     */  
	public void setAll(boolean boo){
		 ZERO=boo;
		 ONE=boo;
		 TWO=boo;
		 THREE=boo;
		 FOUR=boo;
		 FIVE=boo;
		 SIX=boo;
		 SEVEN=boo;
		 EIGHT=boo;
		 NINE=boo;
		 A=boo;
		 B=boo;
	}
}